package com.cyy.common.pojo.vo.system;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SystemUserVo implements Serializable {


    @Schema(description = "用户ID")
    private Integer id;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "用户头像地址")
    private String avatar;
    @Schema(description = "用户邮箱")
    private String email;
    @Schema(description = "性别")
    private Integer gender;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "角色名称，多个使用英文逗号(,)分割")
    private List<Integer> roles;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "用户状态(1:启用;0:禁用)")
    private Integer status;

}
